module speaker.impl.PropertiesMixin;

public template PropertiesMixin()
{
	private char[][char[]] properties;
	
	public void set(char[] name, char[] value)
	{
		properties[name] = value;
	}
	
	public char[] get(char[] name, char[] defaultValue = null)
	{
		if (name in properties)
		{
			return properties[name];
		}
		return defaultValue;
	}
}